﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ChartDataSet
{
    internal class DataItem
    {
        public string Key { get; set; }
        public double Value { get; set; }

        public DataItem(string key, double value)
        {
            Key = key;
            Value = value;
        }

        public override string ToString()
        {
            return $"{{键:{Key},值:{Value}}}";
        }
    }
}
